(global.webpackJsonp = global.webpackJsonp || []).push([ [ "xg_o2o/article/articlecate" ], {
    "780c": function(t, e, n) {
        "use strict";
        (function(t) {
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            n("4e1e"), e(n("66fd")), t(e(n("db7c")).default);
        }).call(this, n("543d").createPage);
    },
    a362: function(t, e, n) {
        "use strict";
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var a = n("256d"), i = 1, o = {
                data: function() {
                    return {
                        isLoading: !0,
                        showBack: !1,
                        attach: "",
                        bgColor: "",
                        textColor: "",
                        articleCate: [],
                        loadingType: 0,
                        logo: ""
                    };
                },
                onLoad: function(t) {
                    var e = this, n = getCurrentPages();
                    this.showBack = n.length > 1;
                    var a = this.$xmgSign.sign("u8article", this.$a, this.$x, this.$n);
                    this.$xRequest.request({
                        url: "entry/wxapp/u8article",
                        data: {
                            op: "getmenu",
                            xgsign: a
                        },
                        success: function(t) {
                            var n = JSON.parse(e.$Decrypt(t.data.data));
                            e.attach = n.attach, e.bgColor = n.bgColor, e.textColor = n.textColor, e.logo = n.logo ? n.logo : "../../static/empty/a2.jpg", 
                            e.loadData(1);
                        },
                        fail: function(t) {},
                        complete: function(t) {}
                    });
                },
                methods: {
                    tourl: function(e) {
                        var n = e.currentTarget.dataset.pid;
                        t.navigateTo({
                            url: "articlelist?pid=" + n
                        });
                    },
                    loadData: function(e) {
                        var n = this;
                        if (1 != this.loadingType && 2 != this.loadingType) {
                            1 == e ? this.isLoading = !0 : t.showLoading({
                                title: "加载中",
                                mask: !0
                            }), this.loadingType = 1;
                            var o = this.$xmgSign.sign("u8article", this.$a, this.$x, this.$n);
                            this.$xRequest.request({
                                url: "entry/wxapp/u8article",
                                data: {
                                    op: "getcate",
                                    xgsign: o,
                                    page: i
                                },
                                success: function(e) {
                                    var o = JSON.parse(n.$Decrypt(e.data.data));
                                    n.articleCate = a.arrayConcat(n.articleCate, o.itemlist), n.isLoading = !1, t.hideLoading(), 
                                    n.articleCate.length >= o.total ? n.loadingType = 2 : (i++, n.loadingType = 0);
                                },
                                fail: function(t) {},
                                complete: function(t) {}
                            });
                        }
                    }
                },
                computed: {
                    style: function() {
                        var t = this.$systemInfo.info(), e = t.windowHeight - t.iPhoneXBottomHeightPx - t.statusBarHeight - 44;
                        return "height:".concat(e, "px;");
                    }
                }
            };
            e.default = o;
        }).call(this, n("543d").default);
    },
    b4a5: function(t, e, n) {
        "use strict";
        n.r(e);
        var a = n("a362"), i = n.n(a);
        for (var o in a) "default" !== o && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(o);
        e.default = i.a;
    },
    cceb: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return i;
        }), n.d(e, "c", function() {
            return o;
        }), n.d(e, "a", function() {
            return a;
        });
        var a = {
            gracePage: function() {
                return n.e("graceUI/components/gracePage").then(n.bind(null, "1915"));
            },
            graceFullLoading: function() {
                return n.e("graceUI/components/graceFullLoading").then(n.bind(null, "7669"));
            },
            divider: function() {
                return n.e("components/divider/divider").then(n.bind(null, "bdb7"));
            },
            graceEmptyNew: function() {
                return n.e("graceUI/components/graceEmptyNew").then(n.bind(null, "fb2f"));
            },
            graceLoading: function() {
                return n.e("graceUI/components/graceLoading").then(n.bind(null, "93a5"));
            }
        }, i = function() {
            this.$createElement, this._self._c;
        }, o = [];
    },
    db7c: function(t, e, n) {
        "use strict";
        n.r(e);
        var a = n("cceb"), i = n("b4a5");
        for (var o in i) "default" !== o && function(t) {
            n.d(e, t, function() {
                return i[t];
            });
        }(o);
        var r = n("f0c5"), c = Object(r.a)(i.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        e.default = c.exports;
    }
}, [ [ "780c", "common/runtime", "common/vendor" ] ] ]);